package cn.cvs.dao;

import cn.cvs.pojo.History;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface HistoryMapper {
    //获取History
    List<History> getHistoryList(@Param("hPhone")String hPhone,@Param("hFirstDate")String hFirstDate);
    //新增History
    int addHistory(History history);
    //删除
    int deleteHistory(@Param("hId")Integer hId);
    //修改
    History getHistoryByHId(@Param("hId")Integer hId);
    int updateHistory(@Param("hId")Integer hId);
}
